package com.company.cloud.ad.modules.base.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.company.cloud.common.bean.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 2_广告信息表 
 * </p>
 *
 * @author anros
 * @since 2020-06-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cms_ad_info")
public class AdInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
     @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
      private Integer id;

    /**
     * 公司编号
     */
     @ApiModelProperty(value = "公司编号")
      private String companyNo;

    /**
     * 标题
     */
     @ApiModelProperty(value = "标题")
      private String title;

    /**
     * 内容分类
     */
     @ApiModelProperty(value = "内容分类")
      private String contentType;

    /**
     * 内容
     */
     @ApiModelProperty(value = "内容")
      private String content;

    /**
     * 链接地址
     */
     @ApiModelProperty(value = "链接地址")
      private String url;

    /**
     * 链接参数
     */
     @ApiModelProperty(value = "链接参数")
      private String urlParam;

    /**
     * 起始日期
     */
     @ApiModelProperty(value = "起始日期")
      private LocalDateTime beginDate;

    /**
     * 结束日期
     */
     @ApiModelProperty(value = "结束日期")
      private LocalDateTime endDate;

    /**
     * 排序
     */
     @ApiModelProperty(value = "排序")
      private Integer orders;

    /**
     * 数据状态
     */
     @ApiModelProperty(value = "数据状态")
      private String rowsState;

    /**
     * 创建人
     */
     @ApiModelProperty(value = "创建人")
      private Integer cman;

    /**
     * 创建时间
     */
     @ApiModelProperty(value = "创建时间")
      private LocalDateTime cdt;

    /**
     * 创建人IP
     */
     @ApiModelProperty(value = "创建人IP")
      private String cip;

    /**
     * 更新人
     */
     @ApiModelProperty(value = "更新人")
      private Integer eman;

    /**
     * 更新时间
     */
     @ApiModelProperty(value = "更新时间")
      private LocalDateTime edt;

    /**
     * 更新人IP
     */
     @ApiModelProperty(value = "更新人IP")
      private String eip;


}
